from scrapy.selector import Selector
text = """
<table class="xm_tab" cellspacing="0" cellpadding="0" width="100%">
    <tbody>
    <tr>
        <td class="bdmc" width="20%">标的名称</td>
        <td width="30%">猿人学卞大两辆车辆转让</td>
        <td class="xmtd" width="20%">
                    信息发布公告期(工作日)
        </td>
        <td width="30%">5</td>
    </tr>
    <tr>
        <td class="zrdj" width="20%">
                转让底价
        </td>
        <td width="30%" >
                ￥118.782万        </td>
        
            <td class="xmtd" width="20%">转让底价是否含税</td>
            <td class="xmtd" width="30%">
                        含税
            </td>
    </tr>
    <tr>
        <td class="xmtd">信息发布期满后，如未征集到意向受让方</td>
        <td class="xmtd" colspan="3">
                    延长信息披露：不变更信息披露内容，按照5个工作日为一个周期延长，直至征集到意向受让方。
        </td>
    </tr>
    </tbody>
</table>
"""

html = Selector(text=text)
# 获取转让底价和标的名称.
bd_name = html.xpath("//td[@width='30%']/text()").get()
bd_name1 = html.xpath("//td[@class='bdmc']/following-sibling::*[1]/text()").get('')
price = html.xpath("//td[@class='zrdj']/following-sibling::*[1]/text()").re_first(r'.*?([0-9.]+)')
print(price)
